<template>
  <div class="title bg-full animate__animated animate__fadeInDown"></div>
  <div class="sub-title bg-full animate__animated animate__fadeInUp" v-if="showSubTitle"></div>
</template>

<script setup>
defineProps({
  showSubTitle: {
    type: Boolean,
    default: true
  }
})
</script>

<style scoped lang="less">
.title {
  width: 1113px;
  height: 399px;
  background-image: url(../assets/img/title.png);
  flex-shrink: 0;
}

.sub-title {
  width: 965px;
  height: 137px;
  background-image: url(../assets/img/sub-title.png);
}
</style>
